﻿//Copyright (C) <2013> jonathan cleeve norton website http://www.fin-plus.co.uk
using FinPlusComponents;
using FinPlusCommon;

namespace FinPlusFeeds
{
    public class FinPlusYahooFeed: FinPlusComponent
    {
        public override string Id { get; set; }
        public override string[] States { get { return new string[] { }; } }
        public override string[] TestStates { get { return new string[] { }; } }
        public override IFunctions Adaptor { get { return _adaptor; } }
        public override string TestString { get { return Adaptor.ToString(); } }
        public override bool IsValid { get; set; }
        private readonly IFunctions _adaptor;

        //construct
        public FinPlusYahooFeed(string period, string days, string tickers)
        {
            _adaptor = new Functions();
        }

        //common control interface
        public override void CmdExecute(IFunction command) 
        {
            //TODO
        }

        public override void Dispose()
        {
            //TODO
        }

        //private start
        private void Start()
        {


        }
    }
}
